home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Merciful 2
/
Merciful - Disc 2.iso
/
software
/
i
/
imagefxv2.1a.lha
/
ImageFX
/
Rexx
/
AutoFX
/
Render_Foreign.ifx
< prev
next >
Wrap
Text File
|
1996-03-02
|
684b
|
39 lines
/*
* Render_Foreign.ifx
* Written by Thomas Krehbiel
*
* Render to a Foreign display format.
*
* Inputs:
* Word(Arg(1),1) = Frame number (1 - N)
* Word(Arg(1),2) = Main filename ("-" if not specified)
* Word(Arg(1),3) = Swap filename ("-" if not specified)
* Word(Arg(1),4) = Sequence number
* Word(Arg(1),5) = Total number of frames (N)
*
* Returns:
* 0 if successful, non-zero on failure
*
*/
OPTIONS RESULTS
framenum = Word(Arg(1),1)
base = 'Autofx_RendForeign_'
lockpal = GETCLIP(base||'LockPal')
IF lockpal THEN DO
IF framenum = 1 THEN
LockRange 0 OFF
ELSE
LockRange 0 ON
END
ELSE
LockRange 0 OFF
Render Go
EXIT